package com.ly.heart.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.FollowRecordEntity;

/**
 * 客户跟进记录Mapper接口
 *
 * @author cxl
 * @date 2024-05-14
 */
public interface FollowRecordMapper extends BaseMapper<FollowRecordEntity>
{
    /**
     * 查询客户跟进记录
     *
     * @param id 客户跟进记录主键
     * @return 客户跟进记录
     */
    public FollowRecordEntity selectFollowRecordEntityById(String id);

    /**
     * 查询客户跟进记录列表
     *
     * @param followRecordEntity 客户跟进记录
     * @return 客户跟进记录集合
     */
    public List<FollowRecordEntity> selectFollowRecordEntityList(FollowRecordEntity followRecordEntity);

    /**
     * 新增客户跟进记录
     *
     * @param followRecordEntity 客户跟进记录
     * @return 结果
     */
    public int insertFollowRecordEntity(FollowRecordEntity followRecordEntity);

    /**
     * 修改客户跟进记录
     *
     * @param followRecordEntity 客户跟进记录
     * @return 结果
     */
    public int updateFollowRecordEntity(FollowRecordEntity followRecordEntity);

    /**
     * 删除客户跟进记录
     *
     * @param id 客户跟进记录主键
     * @return 结果
     */
    public int deleteFollowRecordEntityById(String id);

    /**
     * 批量删除客户跟进记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFollowRecordEntityByIds(String[] ids);
}
